\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\f1\b0\i0\ul0\fs28 text object linebreaks\
\
Q: How do I figure out where the linebreaks are in a Text object? When I use the NeXT methods that return character offsets by lines, I actually get paragraphs instead of lines.\
\
A: This happens because paragraphs are delimited by hard carriage returns, and lines are not. If you want to get the
\b real
\b0 line breaks—the ones that are displayed on the screen—then you have to decode the internal variable
\b theBreaks
\b0 . Here is a snippet of code that shows you how. \
\
\b Warning:
\b0 Be aware that
\b theBreaks
\b0 is an internal structure to the Text object and may change in future implementations. Your code may not work in future releases! \
\
\f2\fs22 /* This piece of code shows how to get line break information out of\